//
//  XYJLXModel.m
//  徙游记-01
//
//  Created by hcios on 2017/7/10.
//  Copyright © 2017年 鹿林. All rights reserved.
//

#import "XYJLXModel.h"

@implementation XYJLXModel

-(instancetype)initWithDict:(NSDictionary *)dict{
    
    if (self = [self init]) {
        _lxd_id = numberToString(dict[@"id"]);
        _lxd_name = NonEmptyString(dict[@"name"]);
        _lxd_attraction_trips_count = numberToString(dict[@"attraction_trips_count"]);
        _lxd_description = NonEmptyString(dict[@"description"]);
        _lxd_image_url = NonEmptyString(dict[@"image_url"]);
        _lxd_user_score = numberToString(dict[@"user_score"]);
    }
    return self;
}

@end
